flipHorizontalRange

Flips an image horizontally

Will allocate a new range as the input image.

  1. auto flipHorizontalRange(Image image, IAllocator allocator)
    @safe
    flipHorizontalRange
    (
    Image
    )
    (
    ref Image image
    ,
    IAllocator allocator = theAllocator()
    )
    if (
    isImage!Image
    )
  2. auto flipHorizontalRange(IRImage image)

Parameters

image Image

The image to flip

allocator IAllocator

Allocator to allocate the wrapper range for

Return Value

Type: auto

An input range that returns value for each pixel in the image

See Also

rangeOf

Meta